// 加载table 数据
$(function(){
	var rowId = $("#rowId").val();
    $("#dataTable").bootstrapTable({ 
    	url: "/orderUrl/orderSonList.json?tlzsRowId="+rowId+"&random="+Math.random(),
    	method:"get",
    	pagination:true,
    	sidePagination:"server",
    	cache:false,
    	queryParams: function(params) {
            return $.extend({}, params, parseJson(decodeURIComponent($("#dataForm").serialize())));     
        }
   }); 
})
//赠送内容
function gameTypeFormatter(value, row) {
	if (row.gameType == 0) {
        return ' 点赞 ';
    } else if (row.gameType == 5) {
        return ' 爱心';
    } else if (row.gameType == 6) {
    	return ' 粉丝';
    } else {
    	//暂无业务
    }
}
function gameIdFormatter(value, row) {
	return getTableColumnValueByDict($("#gameNameListJson").val(), value);
}
//查询
function findData(){
	$("#dataTable").bootstrapTable("refresh",{} ); 
}
function goBack(){
	window.location.href="/orderUrl/list?flag=1&goBackFlag=1";
}